package com.example.teamwork3.Model;

import java.util.Comparator;

public class KselectsubComparator implements Comparator<Kselectsub> {
    @Override
    public int compare(Kselectsub a,Kselectsub b)
    {
        //当a大，return>0,当a小，return<0
        return a.num-b.num;//升序
    }
}
